home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / cos.z / cos
Encoding:
Text File  |  1998-10-30  |  4.9 KB  |  131 lines

  1. COS(3M)                                               Last changed: 2-12-98
  2.  
  3.  
  4. NNAAMMEE
  5.      CCOOSS, DDCCOOSS, CCCCOOSS, CCDDCCOOSS - Computes cosine
  6.  
  7. SSYYNNOOPPSSIISS
  8.      UNICOS and UNICOS/mk systems:
  9.  
  10.      CCOOSS (([XX==]_x))
  11.      DDCCOOSS (([XX==]_x))
  12.      CCCCOOSS (([XX==]_x))
  13.  
  14.      UNICOS and IRIX systems:
  15.      CCDDCCOOSS (([XX==]_x))
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      UNICOS, UNICOS/mk and IRIX systems
  19.  
  20. SSTTAANNDDAARRDDSS
  21.      Fortran 90
  22.      CCDDCCOOSS is a compiler extension to Fortran 90.
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.      CCOOSS is the generic function name.  CCOOSS, DDCCOOSS, and CCCCOOSS are elemental
  26.      functions for the CF90 compiler.
  27.  
  28.      A vector version of this intrinsic exists on UNICOS and UNICOS/mk
  29.      systems.  On UNICOS/mk systems, the vector version of this intrinsic
  30.      is used when --hh vveeccttoorr33 (C compiler) or --OO vveeccttoorr33 or --OO33 (Fortran
  31.      compiler) has been specified on the compiler command line.
  32.  
  33.      These functions evaluate _y = cos(_x).
  34.  
  35.      The entry point CCDDCCOOSS is provided for support in other languages.  It
  36.      is not recognized as an intrinsic function; therefore, you must use
  37.      the CCDDIIRR$$ VVFFUUNNCCTTIIOONN directive to allow vectorization.
  38.  
  39.    CCFF9900
  40.      CCDDCCOOSS is called implicitly by the Fortran 90 compiler as a result of a
  41.      generic CCOOSS call with a complex double-precision argument.
  42.  
  43.    CCAALL RReeggiisstteerr UUssaaggee ((CCrraayy RReesseeaarrcchh SSyysstteemmss OOnnllyy))
  44.      Scalar CCOOSS:  CCOOSS%% (call-by-register)
  45.           on entry   (S1) = argument
  46.           on exit    (S1) = result
  47.  
  48.      Vector CCOOSS:  %%CCOOSS%% (call-by-register)
  49.           on entry   (V1) = argument vector
  50.           on exit    (V1) = result vector
  51.  
  52.      Scalar DDCCOOSS:  DDCCOOSS%% (call-by-register)
  53.           on entry   (S1) and (S2) = argument
  54.           on exit    (S1) and (S2) = result
  55.  
  56.      Vector DDCCOOSS:  %%DDCCOOSS%% (call-by-register)
  57.           on entry   (V1) and (V2) = argument vector
  58.           on exit    (V1) and (V2) = result vector
  59.  
  60.      Scalar CCCCOOSS:  CCCCOOSS%% (call-by-register)
  61.           on entry   (S1) and (S2) = argument
  62.           on exit    (S1) and (S2) = result
  63.  
  64.      Vector CCCCOOSS:  %%CCCCOOSS%% (call-by-register)
  65.           on entry   (V1) and (V2) = argument vector
  66.           on exit    (V1) and (V2) = result vector
  67.  
  68.      Scalar CCDDCCOOSS:  CCDDCCOOSS%% (call-by-register)
  69.           on entry   (S1), (S2), (S3), and (S4) = argument
  70.           on exit    (S1), (S2), (S3), and (S4) = result
  71.  
  72.      Vector CCDDCCOOSS:  %%CCDDCCOOSS%% (call-by-register)
  73.           on entry   (V1), (V2), (V3), and (V4) = argument vector
  74.           on exit    (V1), (V2), (V3), and (V4) = result vector
  75.  
  76.    AArrgguummeenntt RRaannggee
  77.      CCOOSS:
  78.                  25
  79.           |_x| < 2
  80.  
  81.      DDCCOOSS:
  82.                  45
  83.           |_x| < 2
  84.                                        25
  85.           On UNICOS/mk systems, |_x| < 2
  86.  
  87.      CCCCOOSS:
  88.                   25          13
  89.           |_x | < 2  , |_x | < 2   * ln2
  90.             _r           _i              25
  91.           On UNICOS/mk systems, |_x| < 2  , |_x | < 710.47586
  92.                                              _i
  93.      CCDDCCOOSS:
  94.                   45          13
  95.           |_x | < 2  , |_x | < 2   * ln2
  96.             _r           _i
  97. NNOOTTEESS
  98.      CCDDCCOOSS is an outmoded routine for the CF90 compiler.  Refer to the
  99.      _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3, publication SR-3905, for
  100.      information about outmoded features and their preferred standard
  101.      alternatives.
  102.  
  103.      The name of the CCOOSS, DDCCOOSS, and CCCCOOSS intrinsic can be passed as an
  104.      argument.  The name of the CCDDCCOOSS intrinsic cannot be passed as an
  105.      argument.
  106.  
  107. RREETTUURRNN VVAALLUUEESS
  108.      CCOOSS returns the real cosine of its real argument.
  109.  
  110.      DDCCOOSS returns the double-precision cosine of its double-precision
  111.      argument.
  112.  
  113.      CCCCOOSS returns the complex cosine of its complex argument.
  114.  
  115.      CCDDCCOOSS returns the complex double-precision cosine of its complex
  116.      double-precision argument.
  117.  
  118.      On CRAY T90 systems that support IEEE arithmetic, the following return
  119.      values occur:
  120.                                  25
  121.           CCOOSS((_x)) = NaN if |_x| > 2
  122.  
  123.           CCOOSS((_x)) = NaN if _x = NaN
  124.  
  125.      Additional entry points are available on IRIX systems.  See the IRIX
  126.      man pages for details.
  127.  
  128. SSEEEE AALLSSOO
  129.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  130.      printed version of this man page.
  131.